package mysql

import "goods_srv/models/mysql"

func GetGoods(shopId int) (goods *mysql.Goods, err error) {
	err = DB.Debug().Model(&mysql.Goods{}).Where("id=?", shopId).Limit(1).Find(&goods).Error
	return
}
